3.5.43 \(\int \frac {1}{(15+\frac {2}{x^2}+\frac {13}{x}) x} \, dx\) [443]

Optimal. Leaf size=21 \[ \frac {2}{21} \log (2+3 x)-\frac {1}{35} \log (1+5 x) \]

[Out]

2/21*ln(2+3*x)-1/35*ln(1+5*x)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 21, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {1368, 646, 31} \begin {gather*} \frac {2}{21} \log (3 x+2)-\frac {1}{35} \log (5 x+1) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/((15 + 2/x^2 + 13/x)*x),x]

[Out]

(2*Log[2 + 3*x])/21 - Log[1 + 5*x]/35

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 646

Int[((d_.) + (e_.)*(x_))/((a_) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> With[{q = Rt[b^2 - 4*a*c, 2]}, Dist[
(c*d - e*(b/2 - q/2))/q, Int[1/(b/2 - q/2 + c*x), x], x] - Dist[(c*d - e*(b/2 + q/2))/q, Int[1/(b/2 + q/2 + c*
x), x], x]] /; FreeQ[{a, b, c, d, e}, x] && NeQ[2*c*d - b*e, 0] && NeQ[b^2 - 4*a*c, 0] && NiceSqrtQ[b^2 - 4*a*
c]

Rule 1368

Int[(x_)^(m_.)*((a_) + (c_.)*(x_)^(n2_.) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Int[x^(m + 2*n*p)*(c + b/x^n +
a/x^(2*n))^p, x] /; FreeQ[{a, b, c, m, n}, x] && EqQ[n2, 2*n] && ILtQ[p, 0] && NegQ[n]

Rubi steps

\begin {align*} \int \frac {1}{\left (15+\frac {2}{x^2}+\frac {13}{x}\right ) x} \, dx &=\int \frac {x}{2+13 x+15 x^2} \, dx\\ &=-\left (\frac {3}{7} \int \frac {1}{3+15 x} \, dx\right )+\frac {10}{7} \int \frac {1}{10+15 x} \, dx\\ &=\frac {2}{21} \log (2+3 x)-\frac {1}{35} \log (1+5 x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 21, normalized size = 1.00 \begin {gather*} \frac {2}{21} \log (2+3 x)-\frac {1}{35} \log (1+5 x) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/((15 + 2/x^2 + 13/x)*x),x]

[Out]

(2*Log[2 + 3*x])/21 - Log[1 + 5*x]/35

________________________________________________________________________________________

Maple [A]
time = 0.01, size = 18, normalized size = 0.86

method result size
default \(\frac {2 \ln \left (2+3 x \right )}{21}-\frac {\ln \left (1+5 x \right )}{35}\) \(18\)
norman \(\frac {2 \ln \left (2+3 x \right )}{21}-\frac {\ln \left (1+5 x \right )}{35}\) \(18\)
risch \(\frac {2 \ln \left (2+3 x \right )}{21}-\frac {\ln \left (1+5 x \right )}{35}\) \(18\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(15+2/x^2+13/x)/x,x,method=_RETURNVERBOSE)

[Out]

2/21*ln(2+3*x)-1/35*ln(1+5*x)

________________________________________________________________________________________

Maxima [A]
time = 0.31, size = 17, normalized size = 0.81 \begin {gather*} -\frac {1}{35} \, \log \left (5 \, x + 1\right ) + \frac {2}{21} \, \log \left (3 \, x + 2\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(15+2/x^2+13/x)/x,x, algorithm="maxima")

[Out]

-1/35*log(5*x + 1) + 2/21*log(3*x + 2)

________________________________________________________________________________________

Fricas [A]
time = 0.34, size = 17, normalized size = 0.81 \begin {gather*} -\frac {1}{35} \, \log \left (5 \, x + 1\right ) + \frac {2}{21} \, \log \left (3 \, x + 2\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(15+2/x^2+13/x)/x,x, algorithm="fricas")

[Out]

-1/35*log(5*x + 1) + 2/21*log(3*x + 2)

________________________________________________________________________________________

Sympy [A]
time = 0.03, size = 17, normalized size = 0.81 \begin {gather*} - \frac {\log {\left (x + \frac {1}{5} \right )}}{35} + \frac {2 \log {\left (x + \frac {2}{3} \right )}}{21} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(15+2/x**2+13/x)/x,x)

[Out]

-log(x + 1/5)/35 + 2*log(x + 2/3)/21

________________________________________________________________________________________

Giac [A]
time = 4.16, size = 19, normalized size = 0.90 \begin {gather*} -\frac {1}{35} \, \log \left ({\left | 5 \, x + 1 \right |}\right ) + \frac {2}{21} \, \log \left ({\left | 3 \, x + 2 \right |}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(15+2/x^2+13/x)/x,x, algorithm="giac")

[Out]

-1/35*log(abs(5*x + 1)) + 2/21*log(abs(3*x + 2))

________________________________________________________________________________________

Mupad [B]
time = 0.07, size = 13, normalized size = 0.62 \begin {gather*} \frac {2\,\ln \left (x+\frac {2}{3}\right )}{21}-\frac {\ln \left (x+\frac {1}{5}\right )}{35} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(x*(13/x + 2/x^2 + 15)),x)

[Out]

(2*log(x + 2/3))/21 - log(x + 1/5)/35

________________________________________________________________________________________